// var NewApiRootUrl = 'https://hk.open-source.cn/wechat/';
 //var NewApiRootUrl = 'http://knowif.5gzvip.idcfengye.com/wechat/';
// var NewApiRootUrl = 'http://localhost:8080/wechat/';
// var NewApiRootUrl = 'https://47.100.50.88/wechat/';
var NewApiRootUrl = 'https://www.zhishiya.online/wechat/';

module.exports = {
  IndexUrl: NewApiRootUrl + 'index', //首页数据接口
  FoundUrl: NewApiRootUrl + 'found', //发现页数据接口
  FastAskUrl: NewApiRootUrl + 'fastAsk', //快问数据接口
  UpdateUnionidInfoURL: NewApiRootUrl + 'updateUnionInfo', //首页数据接口
  UpdateTutorInfo: NewApiRootUrl + 'tutor/update', //更新老师信息数据接口
  SearchUrl: NewApiRootUrl + 'tutor/fuzzySearch', //搜索接口
  TutorInfo: NewApiRootUrl + 'tutor/selectTutorInfo', //老师详情数据接口
  TutorInfoByUserId: NewApiRootUrl + 'tutor/selectTutorInfoByUserId', //老师详情数据接口
  CatalogList: NewApiRootUrl + 'catalog/index', //分类目录全部分类数据接口
  CatalogCurrent: NewApiRootUrl + 'catalog/current', //分类目录当前分类数据接口

  CollectAdd: NewApiRootUrl + 'collect/addCollect',  //添加收藏

  FastAskOrder: NewApiRootUrl + 'fastAskOrder/queryOrderDetail',  //用户快问订单查询
  FastAskOrderAdd: NewApiRootUrl + 'fastAskOrder/add',  //用户快问订单创建
  FastAskOrderPay: NewApiRootUrl + 'fastAskOrder/prepay',  //用户快问订单创建
  FastAskOrderUpdate: NewApiRootUrl + 'fastAskOrder/update',  //用户快问订单回答问题
  SelectFastAskOrderById: NewApiRootUrl + 'fastAskOrder/queryOrderById',  //通过id查询快问订单

  GetQrCode: NewApiRootUrl + 'qrCode',  //获取导师二维码

  SendVerificationCode: NewApiRootUrl + 'user/sendVerificationCode',//发送验证码
  UpdatePhoneAndWechat: NewApiRootUrl + 'user/updatePhoneAndWechat',//更新用户电话信息和微信号

  OfferIndex: NewApiRootUrl + 'offer/interview/index', //offer首页展示
  OfferDetail: NewApiRootUrl + 'offer/detail', //offer详情
  OfferAdd: NewApiRootUrl + 'offer/save', //发布offer
  InfoCenter: NewApiRootUrl + 'infoCenter', //消息中心
  StanderSorce: NewApiRootUrl + 'standerSorce/save', //发布标准化成绩

  OfferAndStandersorce: NewApiRootUrl + 'offer/saveOfferAndSorce', //发布标准化成绩

  InterviewAdd: NewApiRootUrl + 'interview/save',  //面经发布
  InterviewDetail: NewApiRootUrl + 'interview/detail', //面经详情

  ThanksCollectionAdd: NewApiRootUrl + 'thank/collection/save',  //面经发布
  ThanksCollectionCancle: NewApiRootUrl + 'thank/collection/cancle',  //面经发布
  OfferIntevieCommentAdd: NewApiRootUrl + 'offer/interview/comment/save',  //评论

  OfferInterviewCommentSelect: NewApiRootUrl + 'offer/interview/comment/select', //查询offer、interview、comment 以及统计评论感谢收藏数量

  SelectCollect: NewApiRootUrl + 'collect/selectCollect',//查看个人收藏
  IsUsed: NewApiRootUrl + 'userComment/isUsed',//点赞
  GetCommet: NewApiRootUrl + 'userComment/selectComment',//查询用户评价信息
  MoreGetCommet: NewApiRootUrl + 'userComment/selectMoreComment', //查看更多用户评价信息

  AuthLoginByWeixin: NewApiRootUrl + 'login', //微信登录
  AuthSaveByWeixin: NewApiRootUrl + 'save',//注册用户

  UserConfirmOrder: NewApiRootUrl+'userConfirmOrder', //订单流程 -预约
  UpdateUserOrder: NewApiRootUrl + 'updateUserOrder', //订单流程 -修改预约信息
  TeacherCancelOrder: NewApiRootUrl + 'teacherCancelOrder', //订单流程 -导师拒绝
  TeacherAcceptOrder: NewApiRootUrl + 'teacherAcceptOrder', //订单流程 -导师接受
  UserCancelOrder: NewApiRootUrl + 'userCancelOrder', //订单流程--用户退款
  TeacherConfirmOrder: NewApiRootUrl + 'teacherConfirmOrder',//订单流程--导师确认见面
  WaitEvalOrder:  NewApiRootUrl + 'waitEvalOrder', //订单流程--用户确认完成    
  SaveUserComment: NewApiRootUrl + 'userComment/saveUserComment', //订单流程 -发布评价
  SelectUserOrderByOrderId: NewApiRootUrl + 'selectUserOrderByOrderId', //查看当前订单信息
  WechatPayOrder: NewApiRootUrl+ 'wechatPayOrder',//订单流程-支付
  GetTUserImageById: NewApiRootUrl +'getTUserImageById',//获取头像
  GetUserOrderTimeByIdStatus: NewApiRootUrl + 'getUserOrderTimeByIdStatus', //获取订单剩余时间
  Publish: NewApiRootUrl +'tutor/self/publish', //导师注册
  UpdateFullName: NewApiRootUrl + 'tutor/self/updateFullName', //修改导师名字
  UpdateSelfShow: NewApiRootUrl + 'tutor/self/updateSelfShow', //修改个人分享


  UserInfo: NewApiRootUrl + 'user/selectUserInfo',//个人中心--导师中心/用户信息页面数据接口
  OrderInfo: NewApiRootUrl + 'order/queryOrderDetail',//个人中心-订单页面数据接口

  GetUserChatList: NewApiRootUrl + 'getUserChatList', //聊天-请求对方id 历史记录信息
  UPLOAD_URL: NewApiRootUrl + 'uploadImage',  //聊天-发送图片

  UPLOAD_FILE: NewApiRootUrl + 'uploadFile',  //上传图片

  SelectSchool: NewApiRootUrl + 'school/query', //筛选-根据省份ID查询学校
  SelectSpecial: NewApiRootUrl + 'special/query', //筛选-根据学校ID查询专业
  SelectToturInfo: NewApiRootUrl + 'tutor/screen', //筛选-根据学校ID查询专业

  ShopSearchUrl: NewApiRootUrl + "product/query", //商品查询
  ShopShopDetail: NewApiRootUrl + "product" //商品详情查询

/*
  GoodsCount: NewApiRootUrl + 'goods/count', //统计商品总数
  GoodsList: NewApiRootUrl + 'goods/list', //获得商品列表
  GoodsCategory: NewApiRootUrl + 'goods/category', //获得分类数据
  GoodsDetail: NewApiRootUrl + 'goods/detail', //获得商品的详情
  GoodsNew: NewApiRootUrl + 'goods/new', //新品
  GoodsHot: NewApiRootUrl + 'goods/hot', //热门
  GoodsRelated: NewApiRootUrl + 'goods/related', //商品详情页的关联商品（大家都在看）

  BrandList: NewApiRootUrl + 'brand/list', //品牌列表
  BrandDetail: NewApiRootUrl + 'brand/detail', //品牌详情

  CartList: NewApiRootUrl + 'cart/index', //获取购物车的数据
  CartAdd: NewApiRootUrl + 'cart/add', // 添加商品到购物车
  CartUpdate: NewApiRootUrl + 'cart/update', // 更新购物车的商品
  CartDelete: NewApiRootUrl + 'cart/delete', // 删除购物车的商品
  CartChecked: NewApiRootUrl + 'cart/checked', // 选择或取消选择商品
  CartGoodsCount: NewApiRootUrl + 'cart/goodscount', // 获取购物车商品件数
  CartCheckout: NewApiRootUrl + 'cart/checkout', // 下单前信息确认

  OrderSubmit: NewApiRootUrl + 'order/submit', // 提交订单
  PayPrepayId: NewApiRootUrl + 'pay/prepay', //获取微信统一下单prepay_id

  CollectList: NewApiRootUrl + 'collect/list', //收藏列表
  CollectAddOrDelete: NewApiRootUrl + 'collect/addordelete', //添加或取消收藏

  CommentList: NewApiRootUrl + 'comment/list', //评论列表
  CommentCount: NewApiRootUrl + 'comment/count', //评论总数
  CommentPost: NewApiRootUrl + 'comment/post', //发表评论

  TopicList: NewApiRootUrl + 'topic/list', //专题列表
  TopicDetail: NewApiRootUrl + 'topic/detail', //专题详情
  TopicRelated: NewApiRootUrl + 'topic/related', //相关专题

  SearchIndex: NewApiRootUrl + 'search/index', //搜索页面数据
  SearchResult: NewApiRootUrl + 'search/result', //搜索数据
  SearchHelper: NewApiRootUrl + 'search/helper', //搜索帮助
  SearchClearHistory: NewApiRootUrl + 'search/clearhistory', //搜索帮助

  AddressList: NewApiRootUrl + 'address/list', //收货地址列表
  AddressDetail: NewApiRootUrl + 'address/detail', //收货地址详情
  AddressSave: NewApiRootUrl + 'address/save', //保存收货地址
  AddressDelete: NewApiRootUrl + 'address/delete', //保存收货地址

  RegionList: NewApiRootUrl + 'region/list', //获取区域列表

  OrderList: NewApiRootUrl + 'order/list', //订单列表
  OrderDetail: NewApiRootUrl + 'order/detail', //订单详情
  OrderCancel: NewApiRootUrl + 'order/cancel', //取消订单

  FootprintList: NewApiRootUrl + 'footprint/list', //足迹列表
  FootprintDelete: NewApiRootUrl + 'footprint/delete', //删除足迹
*/
};